package com.yonyougov.devops.cruxcisupport.envserver.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;
import java.util.List;

@Data
@ApiModel(value = "环境关联服务器新增")
public class EnvServerAddRequestDto {

    @NotNull
    @ApiModelProperty(required = true, value = "环境ids")
    private BigInteger envId;

    @NotNull
    @ApiModelProperty(required = true, value = "服务器ids")
    private List<BigInteger> serverIds;

}
